include ../config.make

CFLAGS = -g -Wall -pedantic \
		 -I$(INSTALL_INC)
LDFLAGS = -L$(INSTALL_LIB) \
		  -llua \
		  -lluabindd \
		  -ltalos \
		  -lpthread \
		  #-lefence

SRC = $(wildcard *_test.cpp)
TARGET = $(SRC:.cpp=)

all: $(TARGET)
	@$(ECHO) "Compilation Done."

%_test:%_test.cpp
	$(CXX) $(CFLAGS) $(LDFLAGS) $< -o $@

clean:
	@$(RM) *_test
	@$(ECHO) "Test Clean."
